package com.bootdo.contract.dao;

import com.bootdo.contract.domain.YutableDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * @author yang
 * @email 2795210596@qq.com
 * @date 2019-09-02 12:53:41
 */
@Mapper
public interface YutableDao {

    YutableDO get(Integer id);

    List <YutableDO> list(Map <String, Object> map);

    int count(Map <String, Object> map);

    int save(YutableDO yutable);

    int update(YutableDO yutable);

    int remove(Integer id);

    int batchRemove(Integer[] ids);

    void createStaff(YutableDO yutable);

    void deleteStaff(YutableDO yutable);

    void createTestpaper(YutableDO yutable);

    void deleteTestpaper(YutableDO yutable);

    void createAchievement(YutableDO yutable);

    void deleteAchievement(YutableDO yutable);


}
